package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工服务班组对象 service_team_with_members
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel("员工服务班组对象")
public class ServiceTeamWithMembers extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录的唯一标识符 */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 班组名称 */
    @ApiModelProperty("班组名称")
    @Excel(name = "班组名称")
    private String teamName;

    /** 班组ID，唯一标识 */
    @ApiModelProperty("班组ID")
    @Excel(name = "班组ID，唯一标识")
    private String teamCode;

    /** 人数（实际应由子表统计，此处仅作示例） */
    @ApiModelProperty("人数")
    @Excel(name = "人数", readConverterExp = "实=际应由子表统计，此处仅作示例")
    private Long memberCount;

    /** 班组状态 */
    @ApiModelProperty("班组状态")
    @Excel(name = "班组状态")
    private String teamStatus;

    /** 员工姓名（实际应由子表关联） */
    @ApiModelProperty("员工姓名")
    @Excel(name = "员工姓名", readConverterExp = "实=际应由子表关联")
    private String employeeName;

    /** 员工ID（实际应由子表关联，且此处UNIQUE可能不适用多员工情况） */
    @ApiModelProperty("员工ID")
    @Excel(name = "员工ID", readConverterExp = "实=际应由子表关联，且此处UNIQUE可能不适用多员工情况")
    private Long employeeId;

    /** 排序（实际应由子表关联） */
    @ApiModelProperty("排序")
    @Excel(name = "排序", readConverterExp = "实=际应由子表关联")
    private Long sortOrder;

    /** 手机号 */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTeamName(String teamName)
    {
        this.teamName = teamName;
    }

    public String getTeamName()
    {
        return teamName;
    }

    public void setTeamCode(String teamCode)
    {
        this.teamCode = teamCode;
    }

    public String getTeamCode()
    {
        return teamCode;
    }

    public void setMemberCount(Long memberCount)
    {
        this.memberCount = memberCount;
    }

    public Long getMemberCount()
    {
        return memberCount;
    }

    public void setTeamStatus(String teamStatus)
    {
        this.teamStatus = teamStatus;
    }

    public String getTeamStatus()
    {
        return teamStatus;
    }

    public void setEmployeeName(String employeeName)
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName()
    {
        return employeeName;
    }

    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("teamName", getTeamName())
                .append("teamCode", getTeamCode())
                .append("memberCount", getMemberCount())
                .append("teamStatus", getTeamStatus())
                .append("employeeName", getEmployeeName())
                .append("employeeId", getEmployeeId())
                .append("sortOrder", getSortOrder())
                .append("phone", getPhone())
                .toString();
    }
}
